package com.walkline.travelassistant.dao;

import org.json.me.JSONObject;

import com.walkline.travelassistant.TravelAssistantException;
import com.walkline.travelassistant.TravelAssistantSDK;

public class TravelAssistantObject implements com.walkline.travelassistant.inf.Object
{
	protected TravelAssistantSDK travelAssistant;
	protected JSONObject jsonObject;

	public TravelAssistantObject(TravelAssistantSDK pTravelAssistant, JSONObject pJsonObject) throws TravelAssistantException
	{
		if ((pTravelAssistant == null) || (pJsonObject == null))
		{
			throw new TravelAssistantException("Unable to create TravelAssistant Object.");
		}

		travelAssistant = pTravelAssistant;
		jsonObject = pJsonObject;
	}
}